from poker_bot.admin_panel.app.views.base import MyBaseModelView


class AccountModelView(MyBaseModelView):
    column_list = (
        "id",
        "status",
        "account_id",
        "user",
        "created_at",
    )

    form_excluded_columns = ("created_at", "updated_at", "deposits")

    column_labels = {
        "status": "Статус",
        "account_id": "Номер аккаунта",
        "user": "Пользователь",
        "deposits": "Депозиты",
        "created_at": "Дата создания",
    }

    column_default_sort = ("id", True)
